import {
	post
} from './api.js'

// 列表
export const list = (data) => {
	return post('/users/order/order_list', data)
}
// 详情 
export const detailsData = (data) => {
	return post('/users/order/order_info', data)
}

//取消订单
export const closeOrderApi = (data) => {
	return post('/users/order/order_cancel',data)
}

//确认收货
export const collectOrder = (data)=>{
	return post('/users/order/order_collect',data)
}


//设置发片信息

export const orderInvoice = (data)=>{
	return post('/users/order/order_invoice',data)
}


///
export const orderAddress = (data)=>{
	return post('/users/order/order_address',data)
}